package com.bishe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * (Warehouse)表实体类
 *
 * @author makejava
 * @since 2024-03-04 00:02:38
 */
@TableName(value ="warehouse")
@ApiModel("仓库")
@Data
public class Warehouse extends Model<Warehouse> {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //仓库名
    @ApiModelProperty("仓库名")
    private String name;
    //关联id
    @ApiModelProperty("关联id")
    private String uid;

    //仓库名
    @ApiModelProperty("仓库容量")
    private String capacity;
    //关联id
    @ApiModelProperty("仓库地址")
    private String address;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户名")
    private String username;
    //关联id
    @ApiModelProperty("")
    private String phone;


}

